package com.fjw.pojo;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Data
public class Article {
    private Integer id;
    @NotEmpty
    private String title;
    @NotEmpty
    private String content;
    @NotEmpty
    private String job_category;
    @NotEmpty
    private String major_category;
    @NotEmpty
    private Integer author;
}
